.container {
  background: linear-gradient(to right, #fff 0%, #fafafa 100%);
  border-radius: 12px;
  margin: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  min-height: calc(100vh - 180px);
  overflow: hidden;
}

.sider {
  background: #fff;
  border-right: 1px solid #f0f0f0;
  padding: 24px;
  border-radius: 12px 0 0 12px;
  box-shadow: inset -1px 0 0 #f0f0f0;
  min-width: 280px !important;
}

.topicHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f0f0f0;
  position: relative;
}

.topicHeader::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: #1890ff;
}

.topicHeader h3 {
  margin: 0;
  font-size: 20px;
  color: #1f1f1f;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.topicHeader button {
  min-width: auto;
  height: 32px;
  padding: 0 12px;
  font-size: 13px;
  border-radius: 4px;
  background: #1890ff;
  border-color: #1890ff;
  box-shadow: 0 2px 0 rgba(24, 144, 255, 0.1);
}

.topicHeader button:hover {
  background: #40a9ff;
  border-color: #40a9ff;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(24, 144, 255, 0.2);
}

.treeNode {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 8px 4px;
  border-radius: 4px;
  transition: all 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.treeNode:hover {
  background: #f5f5f5;
  transform: translateX(4px);
}

.content {
  padding: 28px;
  background: #fff;
  border-radius: 0 12px 12px 0;
}

.toolbar {
  margin-bottom: 28px;
  padding: 20px 24px;
  background: linear-gradient(to right, #fafafa, #f5f5f5);
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.toolbar button {
  margin-right: 16px;
  border-radius: 6px;
  height: 38px;
  padding: 0 20px;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 8px;
}

.toolbar button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.toolbar button:last-child {
  margin-right: 0;
}

:global(.ant-table) {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

:global(.ant-table-thead > tr > th) {
  background: linear-gradient(to right, #fafafa, #f5f5f5) !important;
  font-weight: 600;
  padding: 20px 16px !important;
  color: #1f1f1f;
}

:global(.ant-table-tbody > tr > td) {
  padding: 20px 16px !important;
  transition: all 0.3s;
}

:global(.ant-table-tbody > tr:hover > td) {
  background: #f0f7ff !important;
  transform: scale(1.001);
}

:global(.ant-table-row-selected > td) {
  background: #e6f4ff !important;
}

:global(.ant-modal-content) {
  padding: 0 !important;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1) !important;
}

:global(.ant-modal-header) {
  margin: 0 !important;
  padding: 24px 32px !important;
  background: #fafafa;
  border-bottom: 1px solid #f0f0f0;
}

:global(.ant-modal-body) {
  padding: 32px !important;
  background: #fff;
}

:global(.ant-modal-footer) {
  margin-top: 0 !important;
  padding: 24px 32px !important;
  background: #fafafa;
  border-top: 1px solid #f0f0f0;
}

:global(.ant-modal-title) {
  font-size: 20px !important;
  font-weight: 600 !important;
  color: #1f1f1f;
}

:global(.ant-modal-close) {
  transition: all 0.3s;
}

:global(.ant-modal-close:hover) {
  background: #f5f5f5;
  transform: rotate(90deg);
}

:global(.ant-tree) {
  width: 100%;
  padding: 0 4px;
}

:global(.ant-tree-node-content-wrapper) {
  display: flex !important;
  align-items: center !important;
  min-width: 200px !important;
  padding: 4px 8px !important;
  margin-right: 8px;
}

:global(.ant-tree-iconEle) {
  flex-shrink: 0;
  margin-right: 8px !important;
}

:global(.ant-tree-title) {
  display: inline-block;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

:global(.ant-tree-switcher) {
  width: 24px !important;
  height: 32px !important;
  line-height: 32px !important;
}

:global(.ant-tree-node-selected) {
  background: #e6f4ff !important;
}

:global(.ant-tree-node-content-wrapper:hover) {
  background: #f5f5f5 !important;
}

.actionList {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 8px;
}

.actionList button {
  text-align: left;
  height: 44px;
  padding: 0 20px;
  border-radius: 6px;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}

.actionList button:hover {
  background: #f5f5f5;
  padding-left: 24px;
}

:global(.ant-input) {
  height: 40px;
  padding: 8px 16px;
  font-size: 15px;
  border-radius: 6px;
}

:global(.ant-form-item) {
  margin-bottom: 24px;
}

:global(.ant-form-item-label) {
  padding-bottom: 8px;
}

:global(.ant-form-item-label > label) {
  font-size: 15px;
  color: #1f1f1f;
}

:global(.ant-modal-footer .ant-btn) {
  height: 38px;
  padding: 0 24px;
  font-size: 15px;
  border-radius: 6px;
  margin-left: 16px;
}

:global(.ant-modal-footer .ant-btn-primary) {
  background: #1890ff;
  border-color: #1890ff;
  box-shadow: 0 2px 0 rgba(24, 144, 255, 0.1);
}

:global(.ant-modal-footer .ant-btn-primary:hover) {
  background: #40a9ff;
  border-color: #40a9ff;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(24, 144, 255, 0.2);
}

.importanceTag {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
}

.importanceHigh {
  color: #cf1322;
  background: #fff1f0;
}

.importanceMedium {
  color: #d46b08;
  background: #fff7e6;
}

.importanceLow {
  color: #389e0d;
  background: #f6ffed;
} 